package com.hl.card.common.persistence.model; 

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;          
                                                             
/**                                                          
 * 酒店订单                                                  
 * @author 袁伟                                             
 *                                                           
 */                                                          
public class HotelOrder{       
	// 
	private Integer id;

	// 供应商ID
	private String supplier_id;

	// 产品ID
	private String product_id;

	// 产品名称
	private String product_name;

	// 入住时间
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date check_in_time;

	// 离店时间
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date check_out_time;
	
	
	//---------------------查询字段---------------------
	private String start_time; 
	public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	private String end_time;

	public Date getAdd_time() {
		return add_time;
	}

	public void setAdd_time(Date add_time) {
		this.add_time = add_time;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	// 最晚到店时间
	private String late_arrival_time;

	// 面积
	private String area;

	// 宽带
	private String broadband;

	// 楼层
	private String floor;

	// 酒店单价(单夜价格*夜数)
	private Double unit_price;

	// 入住人(用,分割)
	private String passengers;

	// 预定间数
	private Integer book_number;

	// 预定检查类型 501,502
	private String rate_plan_category;

	// 取消开始时间
	private String cancel_penalty_start;

	// 酒店ID
	private Integer hotel_id;

	// 酒店名称
	private String hotel_name;

	// 房型ID
	private Integer hotel_roomid;

	// 房型
	private String hotel_room_name;

	// 早餐份数 0无早 1单份 2双份
	private String breakfast;

	// 加床单价
	private Double add_unit_price;

	// 酒店地址
	private String address;

	// 酒店所属城市ID
	private Integer city_id;

	// 酒店所属城市名称
	private String city_name;

	// 酒店所属国家
	private String country;

	// 酒店说属省份
	private String province;

	// 备注
	private String remark;

	// 优惠类型
	private Integer discount_intensity;

	// 床型
	private String bed_type;
	
	private Integer day;  //天数
	
	private Integer is_mail; //是否邮寄
	
	private String receipt_address;  //收件人地址
	
	private String receipt_name; //收件人名字
	
	private String receipt_phone; //收件人手机号
    
	private String receipt_num; //税号
	
	private Integer receipt_type; //发票类型  0个人 1企业
	
	private String receipt_rise;  //发票抬头

	public Integer getIs_mail() {
		return is_mail;
	}

	public void setIs_mail(Integer is_mail) {
		this.is_mail = is_mail;
	}

	public String getReceipt_address() {
		return receipt_address;
	}

	public void setReceipt_address(String receipt_address) {
		this.receipt_address = receipt_address;
	}

	public String getReceipt_name() {
		return receipt_name;
	}

	public void setReceipt_name(String receipt_name) {
		this.receipt_name = receipt_name;
	}

	public String getReceipt_phone() {
		return receipt_phone;
	}

	public void setReceipt_phone(String receipt_phone) {
		this.receipt_phone = receipt_phone;
	}

	public String getReceipt_num() {
		return receipt_num;
	}

	public void setReceipt_num(String receipt_num) {
		this.receipt_num = receipt_num;
	}

	public Integer getReceipt_type() {
		return receipt_type;
	}

	public void setReceipt_type(Integer receipt_type) {
		this.receipt_type = receipt_type;
	}

	public String getReceipt_rise() {
		return receipt_rise;
	}

	public void setReceipt_rise(String receipt_rise) {
		this.receipt_rise = receipt_rise;
	}

	public Integer getDay() {
		return day;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

	// 酒店联系电话
	private String hotel_mobile;

	// 取消政策 (0无效  1免费取消 2限时取消 4超时担保限时取消  8不可取消 )
	private Integer cancel_notice;

	// 是否即时确认
	private Integer is_instant_confirm;

	// 订单来源
	private String source;

	// 订单编号
	private String order_number;

	// 神兽订单号
	private String api_order_number;

	// 订单价格
	private Double pay_price;

	// 订单状态 ( 1待支付   2待确认  3已确认 5退订中 508已退订 9已取消  )
	private Integer status;
	
	private Date add_time;   //下单时间
	
	private Date pay_time;  //支付时间
	
	private String channel_id; //渠道ID
	
	private String merch_code; //商户编号
	 
	private String name;   //联系人
	
	private String phone;  //联系人手机号
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMerch_code() {
		return merch_code;
	}

	public void setMerch_code(String merch_code) {
		this.merch_code = merch_code;
	}

	public String getChannel_id() {
		return channel_id;
	}

	public void setChannel_id(String channel_id) {
		this.channel_id = channel_id;
	}

	public Date getPay_time() {
		return pay_time;
	}

	public void setPay_time(Date pay_time) {
		this.pay_time = pay_time;
	}

	private String user_id;

                                                 
                                                             
	public void setId(Integer id){ 
		this.id = id;
	}

	public Integer getId(){ 
		return this.id;
	}

	public void setSupplier_id(String supplier_id){ 
		this.supplier_id = supplier_id;
	}

	public String getSupplier_id(){ 
		return this.supplier_id;
	}

	public void setProduct_id(String product_id){ 
		this.product_id = product_id;
	}

	public String getProduct_id(){ 
		return this.product_id;
	}

	public void setProduct_name(String product_name){ 
		this.product_name = product_name;
	}

	public String getProduct_name(){ 
		return this.product_name;
	}

	public void setCheck_in_time(java.util.Date check_in_time){ 
		this.check_in_time = check_in_time;
	}

	public java.util.Date getCheck_in_time(){ 
		return this.check_in_time;
	}

	public void setCheck_out_time(java.util.Date check_out_time){ 
		this.check_out_time = check_out_time;
	}

	
	public java.util.Date getCheck_out_time(){ 
		return this.check_out_time;
	}

	public void setLate_arrival_time(String late_arrival_time){ 
		this.late_arrival_time = late_arrival_time;
	}

	public String getLate_arrival_time(){ 
		return this.late_arrival_time;
	}

	public void setArea(String area){ 
		this.area = area;
	}

	public String getArea(){ 
		return this.area;
	}

	public void setBroadband(String broadband){ 
		this.broadband = broadband;
	}

	public String getBroadband(){ 
		return this.broadband;
	}

	public void setFloor(String floor){ 
		this.floor = floor;
	}

	public String getFloor(){ 
		return this.floor;
	}

	public void setUnit_price(Double unit_price){ 
		this.unit_price = unit_price;
	}

	public Double getUnit_price(){ 
		return this.unit_price;
	}

	public void setPassengers(String passengers){ 
		this.passengers = passengers;
	}

	public String getPassengers(){ 
		return this.passengers;
	}

	public void setBook_number(Integer book_number){ 
		this.book_number = book_number;
	}

	public Integer getBook_number(){ 
		return this.book_number;
	}

	public void setRate_plan_category(String rate_plan_category){ 
		this.rate_plan_category = rate_plan_category;
	}

	public String getRate_plan_category(){ 
		return this.rate_plan_category;
	}

	public void setCancel_penalty_start(String cancel_penalty_start){ 
		this.cancel_penalty_start = cancel_penalty_start;
	}

	public String getCancel_penalty_start(){ 
		return this.cancel_penalty_start;
	}

	public void setHotel_id(Integer hotel_id){ 
		this.hotel_id = hotel_id;
	}

	public Integer getHotel_id(){ 
		return this.hotel_id;
	}

	public void setHotel_name(String hotel_name){ 
		this.hotel_name = hotel_name;
	}

	public String getHotel_name(){ 
		return this.hotel_name;
	}

	public void setHotel_roomid(Integer hotel_roomid){ 
		this.hotel_roomid = hotel_roomid;
	}

	public Integer getHotel_roomid(){ 
		return this.hotel_roomid;
	}

	public void setHotel_room_name(String hotel_room_name){ 
		this.hotel_room_name = hotel_room_name;
	}

	public String getHotel_room_name(){ 
		return this.hotel_room_name;
	}

	public void setBreakfast(String breakfast){ 
		this.breakfast = breakfast;
	}

	public String getBreakfast(){ 
		return this.breakfast;
	}

	public void setAdd_unit_price(Double add_unit_price){ 
		this.add_unit_price = add_unit_price;
	}

	public Double getAdd_unit_price(){ 
		return this.add_unit_price;
	}

	public void setAddress(String address){ 
		this.address = address;
	}

	public String getAddress(){ 
		return this.address;
	}

	public void setCity_id(Integer city_id){ 
		this.city_id = city_id;
	}

	public Integer getCity_id(){ 
		return this.city_id;
	}

	public void setCity_name(String city_name){ 
		this.city_name = city_name;
	}

	public String getCity_name(){ 
		return this.city_name;
	}

	public void setCountry(String country){ 
		this.country = country;
	}

	public String getCountry(){ 
		return this.country;
	}

	public void setProvince(String province){ 
		this.province = province;
	}

	public String getProvince(){ 
		return this.province;
	}

	public void setRemark(String remark){ 
		this.remark = remark;
	}

	public String getRemark(){ 
		return this.remark;
	}

	public void setDiscount_intensity(Integer discount_intensity){ 
		this.discount_intensity = discount_intensity;
	}

	public Integer getDiscount_intensity(){ 
		return this.discount_intensity;
	}

	public void setBed_type(String bed_type){ 
		this.bed_type = bed_type;
	}

	public String getBed_type(){ 
		return this.bed_type;
	}

	public void setHotel_mobile(String hotel_mobile){ 
		this.hotel_mobile = hotel_mobile;
	}

	public String getHotel_mobile(){ 
		return this.hotel_mobile;
	}

	public void setCancel_notice(Integer cancel_notice){ 
		this.cancel_notice = cancel_notice;
	}

	public Integer getCancel_notice(){ 
		return this.cancel_notice;
	}

	public void setIs_instant_confirm(Integer is_instant_confirm){ 
		this.is_instant_confirm = is_instant_confirm;
	}

	public Integer getIs_instant_confirm(){ 
		return this.is_instant_confirm;
	}

	public void setSource(String source){ 
		this.source = source;
	}

	public String getSource(){ 
		return this.source;
	}

	public void setOrder_number(String order_number){ 
		this.order_number = order_number;
	}

	public String getOrder_number(){ 
		return this.order_number;
	}

	public void setApi_order_number(String api_order_number){ 
		this.api_order_number = api_order_number;
	}

	public String getApi_order_number(){ 
		return this.api_order_number;
	}

	public void setPay_price(Double pay_price){ 
		this.pay_price = pay_price;
	}

	public Double getPay_price(){ 
		return this.pay_price;
	}

	public void setStatus(Integer status){ 
		this.status = status;
	}

	public Integer getStatus(){ 
		return this.status;
	}

                                                
}                                                            
